
        {{--先继承父级的模板，然后替换占位符--}}
        @extends("public.father")
        @section("content")



            @if ($errors->any())
                <div class="alert alert-danger">
                    <ul>
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            @endif


        <form style="width: 30%;margin: 0 auto" method="post" action="{{route("denglu")}}">
            @csrf
            <div class="form-group">
                <label for="exampleInputEmail1">邮箱</label>
                <input name="email" type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入邮箱地址">
                <small id="emailHelp" class="form-text text-muted">我们永远不会泄露您的个人信息</small>
            </div>

            <div class="form-group">
                <label for="exampleInputPassword1">密码</label>
                <input name="password" type="password" class="form-control"  placeholder="请输入密码">
            </div>

        <button type="submit" class="btn btn-primary">登录</button>
    </form>

@endsection